#ifndef _RCC_MCO_H
#define _RCC_MCO_H

//------include-------------
#include "cx32l003_rcc.h"
#include "cx32l003_gpio.h"

#define   DEBUG_RCCx          RCC
#define   RCC_GPIOx          GPIOC
#define   RCC_PIN_SOURCE     GPIO_PinSource7
#define   RCC_AF_VALUE       GPIO_AF_X32K_OUT_PC7


#define  RCC_MCO_SYSCLK          RCC_SYSCLKOSEL_HIRC
#define  RCC_MCO_OUTPUTCLK       RCC_SYSCLKOSEL_LIRC
#define  RCC_MCO_SYSCLKDIV       0xf0 

#define   RCC_MCO_GPIOx          GPIOC
#define   RCC_MCO_PIN_SOURCE     GPIO_PinSource4
#define   RCC_MCO_AF_VALUE       GPIO_AF_CLKMCO_PC4



//--------------define-------------------------
void TEST_RCC_OUTPUT_Config(void);
void TEST_RCC_MCO_Config(void);

#endif

